home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Script / RunScript / RunScript.readme < prev    next >
Encoding:
Text File  |  1994-01-23  |  3.3 KB  |  87 lines  |  [TEXT/MPS ]

  1. Welcome to the RunScript readme.
  2.  
  3. Version 1.0
  4.  
  5. RunScript is a Shareware AppleScript MPW tool.  It compiles, it decompiles, it
  6. executes and it returns results.  What more could you want? 
  7.  
  8. The reasons for using RunScript over the AppleScript Script Editor are
  9. numerous:  Search and replace features.  Projector support.  No 32K limit on
  10. scripts.  Advanced editing features (like arrows keys that work with shift,
  11. command and option keys).  Additional MPW tool support.  ToolServer. The list
  12. goes on and on.  
  13.  
  14. The things that are missing from RunScript & MPW:  Styled text support.
  15.  
  16. Things that are planned for future versions:  The ability to add comments
  17. (possible now with rez).  The ability to create applets and droplets (you can
  18. decompile, edit and update existing ones now but I think a script and rez based
  19. solution for copying the resources will work).
  20.  
  21. Usage:
  22.  
  23.     RunScript [-f] [-e] [-p] [-o file] [-l language] [-d dialect] [-t type] [-c creator] 
  24.                 [-st type] [-sc creator] [-rt resType] [-id resID] [file…]
  25.  
  26. Where:
  27.  
  28.     -f    Write formatted and decompiled script data out.  If the input is a
  29.         TEXT file then this goes back to the input file, while if the input
  30.         is a script file this data goes to the output file.  If the input file
  31.         is stdin or the output file is not specified then the output goes to
  32.         stdout.
  33.  
  34.     -e    Don't execute the script.
  35.     
  36.     -p    Write excessive (i.e. debug) progress information to stderr.
  37.     
  38.     -o    Specifies the output file. This is the compiled script file when the
  39.         input is TEXT and a TEXT file when the input is a script file.
  40.     
  41.     -l    Specify the language for a new script.  Existing scripts assume
  42.         their previous language and will error if you try changing it.
  43.         The default language is AppleScript.
  44.  
  45.     -d    Select a dialect by name.  This is a global setting and will be
  46.         the default until you change it again.
  47.  
  48.     -t    Set the type for script text files (default is 'TEXT').
  49.     
  50.     -c    Set the creator for script text files (default is 'MPS ' for MPW).
  51.     
  52.     -st    Set the type for script files (default is 'osas').
  53.     
  54.     -sc    Set the creator for script files (default is 'ToyS' for the AppleScript
  55.         Script Editor).
  56.         
  57.     -rt    Set the resource type of the script resource (default is 'scpt').
  58.     
  59.     -id    Set the resource ID of the script resource (default is 128).
  60.     
  61.  
  62. I hope RunScript meets your MPW AppleScript needs.  All I ask is a small
  63. Shareware fee if you use this.  It's $10 for individuals using this for fun and
  64. profit and $20 per person (or $200 for a site licence) for companies to use
  65. this in their commercial or in-house projects.  I provide support and bug fixes
  66. to all registered users.
  67.  
  68. Send comments, suggestions, bug reports and directed insults to me at:
  69.  
  70. Jon Pugh
  71. 1861 Landings Drive
  72. Mountain View, CA 94043
  73. jonpugh@netcom.com
  74. (415) 691-6643
  75.  
  76. Contact me for current address information.
  77.  
  78. Also, look for my freeware AppleScript Scripting Additions, Jon’s Commands,
  79. available at a fine archive near you.  If you don't see it there, just ask
  80. someone to upload it. 
  81.  
  82. RunScript, Jon’s Commands, AppleScript and QuicKeys 3.0 all go together! In
  83. Jon’s Commands is a "run script resource" command.  It likes 'Scpt' resources
  84. (the Script Editor gets confused by multiple 'scpt' resources in a file).
  85. With RunScript you can easily create these resources (or modify ones you
  86. create with the Script Editor).
  87.